package cn.dslcode.security.common;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.NoArgsConstructor;

import java.io.Serializable;
import java.util.Set;

/**
 * @author dongsilin
 * @version 2018/4/4.
 */
@Data
@NoArgsConstructor
@AllArgsConstructor
@EqualsAndHashCode(of = "id")
public class Role implements Serializable {
    public static final long serialVersionUID = 1L;

    private Integer id;
    private String name;
    private String secName;
    private Set<Authority> auths;

}
